/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 刘柄华
 * Date: 2022-05-22
 * Time: 20:08
 */
public class Test {

    public float aMethod(float a,float b){return a;}
    private float aMethod(float a,float b,float c){return a;
    }



    public static void main2(String[] args) {
        int i=0;
        for(out('A');out('B')&&(i<2);out('C')){
            i++;
            out('D');
        }
    }
    static boolean out(char c){
        System.out.print(c);
        return true;
    }


    public static void main1(String[] args) {
        Thread t = new Thread(){
            @Override
            public void run() {
                dianping();
            }
        };
        t.start();

        System.out.println("dazhong");

    }
    static void dianping(){
        System.out.println("dianping");
    }
}
